home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / STUTTGART / GRAPHICS / RAYTRACING / POVRAY-2.2 / SCENES / level3 / TEAPOT < prev   
Text File  |  1993-09-28  |  941b  |  52 lines

  1. // Persistence Of Vision Raytracer version 2.0 sample file.
  2.  
  3. // Utah Teapot w/ Bezier patches
  4. // adapted by Alexander Enzmann 
  5.  
  6. #include "shapes.inc"
  7. #include "colors.inc"
  8. #include "textures.inc"
  9.  
  10. #declare Teapot_Texture = texture {
  11.    pigment { Red }
  12.    finish {
  13.       phong 1.0
  14.       phong_size 100
  15.       ambient 0.15
  16.       diffuse 0.8
  17.    }
  18. }
  19.  
  20. #declare Teapot_Orientation = <-110, 20, 0>
  21.  
  22. #include "teapot.inc"
  23.  
  24. camera {
  25.    location  <0.0, 0.0, -10.0>
  26.    direction <0.0, 0.0,  1.0>
  27.    up        <0.0, 1.0,  0.0>
  28.    right     <4/3, 0.0,  0.0>
  29. }
  30.  
  31. light_source { <10.0, 40.0, -30.0> colour White }
  32.  
  33.  
  34. /* Floor */
  35. plane {
  36.    y, -8
  37.  
  38.    texture {
  39.       pigment {
  40.          checker color red 1.0 green 0.1 blue 0.1
  41.                  color red 0.8 green 0.8 blue 0.8
  42.          scale 5
  43.       }
  44.    }
  45. }
  46.  
  47. /* Back wall */
  48.  plane {
  49.     z, 100
  50.     texture { pigment { color red 0.3 green 0.3 blue 0.5 } }
  51. }
  52.